package com.example.appointment.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AppointmentDTO {
    private Long id;

    @NotNull(message = "请选择科室")
    private Long departmentId;
    
    private String departmentName;

    @NotNull(message = "请选择医生")
    private Long doctorId;
    
    private String doctorName;

    @NotNull(message = "请选择就诊时间")
    private LocalDateTime appointmentTime;

    private Long patientId;
    
    private String patientName;

    private String status; // PENDING, CONFIRMED, CANCELLED, COMPLETED

    private String description; // 就诊描述/备注

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
} 